package com.shareach.util;



import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;

public class ContextConf implements ApplicationContextAware{
	static ApplicationContext context = null ;

	public void setApplicationContext(ApplicationContext appcontext) throws BeansException {
		context = appcontext ;
	}

	public static ApplicationContext getContext() {
		return context;
	}

	public static void setContext(ApplicationContext appcontext) {
		context = appcontext;
	}
}